package com.lmm.rpc.core.client.async;

/**
 * @Description 异步回调接口定义
 * @Author LiZhongWei
 * @Date 2023/9/17 13:31
 */
public interface RpcCallback {
    /**
     * 成功
     */
    void onSuccess(final Object result);
    /**
     * 失败
     */
    void onException(final Throwable e);
}
